/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mac
 * Date: 2022-08-31
 * Time: 17:32
 */
public class LinkedListWork {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addFirst(5);
        myLinkedList.addFirst(23);
        myLinkedList.addFirst(23);
        myLinkedList.addLast(23);
        myLinkedList.addLast(23);
        myLinkedList.addLast(6);
        myLinkedList.display();

        myLinkedList.removeAll(23);
        myLinkedList.display();

        /*myLinkedList.addPos(1, 99);
        myLinkedList.display();
        System.out.println(myLinkedList.getLength());
        System.out.println(myLinkedList.findK(13));*/
    }
}
